package com.vsen.lpr.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.vsen.lpr.entity.BaseEntity;

import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yy
 * @since 2021-08-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_shopping_cart")
public class ShoppingCart extends BaseEntity<ShoppingCart> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("product_id")
    private Integer productId;
    @TableField("label_id")
    private Integer labelId;
    @TableField("user_id")
    private String userId;
    @TableField("num")
    private Integer num;
    @TableField("time")
    private Date time;
    @TableField("shop_id")
    private Integer shopId;


}
